<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .a {
            /* width: 0;
            height: 0;
            border: 100px solid;
            border-color: red transparent; */
            width: 1226px;
            height: 40px;
            border: 10px solid;
            border-color: #00daff5c transparent;
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin: 0 auto;
        }

        .b {
            width: 100%;
            height: 100%;
            background-color: aliceblue;
            align-self: center;
            text-align: center;
            line-height: 40px;
            font-size: 30px;
            font-style: italic;
            /* font-weight: bold; */
            letter-spacing: 15px;
        }
    </style>
</head>

<body>
    <div class="a">
        <div class="b">顺水乘舟,前程似锦！</div>
    </div>
</body>

</html>